Settings for registers of GNSS 20 Click driver.
More...
Settings for registers of GNSS 20 Click driver.
◆ GNSS20_DUMMY
| #define GNSS20_DUMMY 0xFF |
GNSS 20 dummy data.
Definition of dummy data.
◆ GNSS20_GGA_ALTITUDE
| #define GNSS20_GGA_ALTITUDE 9 |
◆ GNSS20_GGA_ALTITUDE_UNIT
| #define GNSS20_GGA_ALTITUDE_UNIT 10 |
◆ GNSS20_GGA_DGPS_REFERENCE_STATION_ID
| #define GNSS20_GGA_DGPS_REFERENCE_STATION_ID 14 |
◆ GNSS20_GGA_ELEMENT_SIZE
| #define GNSS20_GGA_ELEMENT_SIZE 15 |
GNSS 20 GGA command elements.
Specified GGA command elements of GNSS 20 Click driver.
◆ GNSS20_GGA_GEOIDAL_SEPARATION
| #define GNSS20_GGA_GEOIDAL_SEPARATION 11 |
◆ GNSS20_GGA_GEOIDAL_SEPARATION_UNIT
| #define GNSS20_GGA_GEOIDAL_SEPARATION_UNIT 12 |
◆ GNSS20_GGA_H_DILUTION_OF_POS
| #define GNSS20_GGA_H_DILUTION_OF_POS 8 |
◆ GNSS20_GGA_LATITUDE
| #define GNSS20_GGA_LATITUDE 2 |
◆ GNSS20_GGA_LATITUDE_SIDE
| #define GNSS20_GGA_LATITUDE_SIDE 3 |
◆ GNSS20_GGA_LONGITUDE
| #define GNSS20_GGA_LONGITUDE 4 |
◆ GNSS20_GGA_LONGITUDE_SIDE
| #define GNSS20_GGA_LONGITUDE_SIDE 5 |
◆ GNSS20_GGA_NUMBER_OF_SATELLITES
| #define GNSS20_GGA_NUMBER_OF_SATELLITES 7 |
◆ GNSS20_GGA_QUALITY_INDICATOR
| #define GNSS20_GGA_QUALITY_INDICATOR 6 |
◆ GNSS20_GGA_TIME
| #define GNSS20_GGA_TIME 1 |
◆ GNSS20_GGA_TIME_SINCE_LAST_DGPS
| #define GNSS20_GGA_TIME_SINCE_LAST_DGPS 13 |
◆ GNSS20_I2C_SLAVE_ADDRESS_CR_OR_CW
| #define GNSS20_I2C_SLAVE_ADDRESS_CR_OR_CW 0x50 |
◆ GNSS20_I2C_SLAVE_ADDRESS_R
| #define GNSS20_I2C_SLAVE_ADDRESS_R 0x54 |
◆ GNSS20_I2C_SLAVE_ADDRESS_W
| #define GNSS20_I2C_SLAVE_ADDRESS_W 0x58 |
◆ GNSS20_I2C_SLAVE_CMD_LEN
| #define GNSS20_I2C_SLAVE_CMD_LEN 8 |
◆ GNSS20_I2C_SLAVE_CR_CMD
| #define GNSS20_I2C_SLAVE_CR_CMD 0xAA51 |
GNSS 20 I2C settings.
Specified setting for I2C of GNSS 20 Click driver.
◆ GNSS20_I2C_SLAVE_CW_CMD
| #define GNSS20_I2C_SLAVE_CW_CMD 0xAA53 |
◆ GNSS20_I2C_SLAVE_MAX_ERRORS
| #define GNSS20_I2C_SLAVE_MAX_ERRORS 10 |
◆ GNSS20_I2C_SLAVE_RX_BUF_REG_OFFSET
| #define GNSS20_I2C_SLAVE_RX_BUF_REG_OFFSET 0x1000 |
◆ GNSS20_I2C_SLAVE_RX_LEN
| #define GNSS20_I2C_SLAVE_RX_LEN 4 |
◆ GNSS20_I2C_SLAVE_RX_LEN_REG_OFFSET
| #define GNSS20_I2C_SLAVE_RX_LEN_REG_OFFSET 0x0004 |
◆ GNSS20_I2C_SLAVE_TX_BUF_REG_OFFSET
| #define GNSS20_I2C_SLAVE_TX_BUF_REG_OFFSET 0x2000 |
◆ GNSS20_I2C_SLAVE_TX_LEN_REG_OFFSET
| #define GNSS20_I2C_SLAVE_TX_LEN_REG_OFFSET 0x0008 |
◆ GNSS20_RSP_DELIMITER
| #define GNSS20_RSP_DELIMITER "," |
◆ GNSS20_RSP_END
| #define GNSS20_RSP_END "\r\n" |
◆ GNSS20_RSP_GGA
| #define GNSS20_RSP_GGA "GGA" |
◆ GNSS20_RSP_START
| #define GNSS20_RSP_START "$" |
GNSS 20 response buffer commands.
Specified response buffer commands of GNSS 20 Click driver.
◆ GNSS20_RX_DRV_BUFFER_SIZE
| #define GNSS20_RX_DRV_BUFFER_SIZE 800 |
◆ GNSS20_SET_DATA_SAMPLE_EDGE
Data sample selection.
This macro sets data samples for SPI modules.
- Note
- Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with gnss20_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ GNSS20_SET_DATA_SAMPLE_MIDDLE
◆ GNSS20_SPI_SLAVE_CFG_RD_CMD
| #define GNSS20_SPI_SLAVE_CFG_RD_CMD 0x0A |
GNSS 20 SPI settings.
Specified setting for SPI of GNSS 20 Click driver.
◆ GNSS20_SPI_SLAVE_CFG_WR_CMD
| #define GNSS20_SPI_SLAVE_CFG_WR_CMD 0x0C |
◆ GNSS20_SPI_SLAVE_CMD_LEN
| #define GNSS20_SPI_SLAVE_CMD_LEN 9 |
◆ GNSS20_SPI_SLAVE_PWOFF_CMD
| #define GNSS20_SPI_SLAVE_PWOFF_CMD 0x02 |
◆ GNSS20_SPI_SLAVE_PWON_CMD
| #define GNSS20_SPI_SLAVE_PWON_CMD 0x04 |
◆ GNSS20_SPI_SLAVE_RD_CMD
| #define GNSS20_SPI_SLAVE_RD_CMD 0x81 |
◆ GNSS20_SPI_SLAVE_RS_CMD
| #define GNSS20_SPI_SLAVE_RS_CMD 0x06 |
◆ GNSS20_SPI_SLAVE_RX_BUF_REG_OFFSET
| #define GNSS20_SPI_SLAVE_RX_BUF_REG_OFFSET 0x00001000ul |
◆ GNSS20_SPI_SLAVE_RX_LEN
| #define GNSS20_SPI_SLAVE_RX_LEN 4 |
◆ GNSS20_SPI_SLAVE_RX_LEN_REG_OFFSET
| #define GNSS20_SPI_SLAVE_RX_LEN_REG_OFFSET 0x00000004ul |
◆ GNSS20_SPI_SLAVE_TX_BUF_REG_OFFSET
| #define GNSS20_SPI_SLAVE_TX_BUF_REG_OFFSET 0x00002000ul |
◆ GNSS20_SPI_SLAVE_TX_LEN_REG_OFFSET
| #define GNSS20_SPI_SLAVE_TX_LEN_REG_OFFSET 0x00000008ul |
◆ GNSS20_SPI_SLAVE_WR_CMD
| #define GNSS20_SPI_SLAVE_WR_CMD 0x0E |
◆ GNSS20_SPI_SLAVE_WS_CMD
| #define GNSS20_SPI_SLAVE_WS_CMD 0x08 |
◆ GNSS20_TX_DRV_BUFFER_SIZE
| #define GNSS20_TX_DRV_BUFFER_SIZE 100 |
GNSS 20 driver buffer size.
Specified size of driver ring buffer.
- Note
- Increase buffer size if needed.